
@import '~qup-component/theme/qup-theme.scss';
@import './element-ui.scss';

$--color-primary: #3DC094;
$--font-color-primary: #606266;

$color-border:#e9e9e9;


html,body{
  position: relative;
  height: 100%;
}
body {
  font-size: 12px;
  color: #333;
}
#app {
  height: 100%;
}

.unifiedBg {
  background-color: white;
}

.table-list-box{
  .table-list-header, .table-list-header th{
    border-top: 0;
  }
}

//显示一行  超出部分省略
.tooltip-content{
  width: 100%;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

//滚动条样式
::-webkit-scrollbar-track-piece{
  background-color: transparent;
  border: 0;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  border-radius: 1em;
  background-color:rgba(50,50,50,.4);
}


.btn-green{
  color: $qup-color-primary !important;
  cursor: pointer;
}
.btn-black{
  color: $--font-color-primary !important;
  cursor: pointer;
}
.color-grey{
  color: #999;
}
.qup-title-box{
  margin-bottom: 10px;
}

// 表格行高亮
.selected-highlight{
  td{
    background-color: #cdf4e8 !important;
  }
  &.hover-row>td{
    background-color: #F5F7FA !important;
  }
}

// 启用禁用
.icon-off {
  margin-right: 10px !important;
  font-size: 16px !important;
  vertical-align: middle !important;
  color: $qup-color-danger;
}

.icon-on {
  margin-right: 10px !important;
  font-size: 16px !important;
  vertical-align: middle !important;
  color: $qup-color-primary;
}

//分页通用样式
.pager-box{
  text-align: center;
  margin-top: 40px;

  .el-pagination{

    .el-input__inner{
      font-size: 12px;
    }

    .el-pager li{
      font-size: 12px;
    }
  }
}

// 白底满屏
.all-height{
  background-color: #fff;
  height: calc(100vh - 96px);
}

// 左侧选择列表通用样式
.left-choose-list-box{
  background-color: #fff;
  box-shadow:0px 2px 20px 0px rgba(153,153,153,0.2);

  .left-choose-list-header{
    
    .title{
      position: relative;
      padding: 20px;
      padding-bottom: 10px;

      .add-icon-box{
        position: absolute;
        right: 20px;
        bottom: 6px;

        .add{
          font-size: 24px;
          color: $qup-color-primary;
          cursor: pointer;
        }
      }
    }

    .search{
      padding-left: 20px;
      padding-right: 10px;
      margin-bottom: 10px;

      .el-input__inner{
        border: 0;
        padding-left: 20px !important;
        padding-right: 0 !important;
        height: 20px !important;
        line-height: 20px !important;
      }

      .el-input__prefix{
        left: 0;

        .tree-search-icon{
          font-size: 16px;
          color: $colorA;
          margin-top: 2px;
        }
      }
    }
  }

  .left-choose-list-content{
    padding: 0 20px;
  }
}
/*二级页面页头标题*/
%spacing-styles {
  padding: 10px 20px;
  padding-left: 0;
}
$border-color: #f0f0f0;

.bread-box {
  @extend %spacing-styles;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid $border-color;

  .el-breadcrumb {
    font-size: 12px;
  }
}


/deep/ .my-mini-btn {
  display: inline-block !important;
  padding: 0 5px !important;
  margin-left: 0 !important;
  margin-right: 10px;

  &:last-child {
    margin-right: 0;
  }
}
